<% if @obj.render_partial? %>
  <%= render :partial => 'some_partial' %>
<% end %>
